package org.example.jwtdemo.service;


import com.github.pagehelper.PageInfo;
import org.example.jwtdemo.entity.Category;

import java.util.List;

public interface CategoryService {
    void add(Category category);

    void delete(List<Integer> ids);

    List<Category> list();

    void deleteById(Integer id);

    PageInfo<Category> selectPage(Category category, Integer pageNum, Integer pageSize);
}
